<?php
/**
* @software         [JiJinCMS]
* @author           [上海集锦信息科技有限公司]
* @website          [http://www.jijinweb.com]
* @email            [sunny@jijinweb.com]
**/
namespace app\admin\model;
use think\Model;

class UserLoginLogModel extends Model{
    protected $name = 'user_login_log';
    protected $pk = 'id';
    //关联role表
    public function role()
    {
        return $this->belongsToMany(RoleModel::class, "role_user","role_id","user_id");
    }   
}
